
public class MeuTile extends Tile {
	
	Ants ants;
	Tile dest;

	public MeuTile(Tile thisOne, Ants ants, Tile dest){
		super(thisOne.getRow(), thisOne.getCol());
		this.dest = dest;
		this.ants = ants;
	}
	
	@Override
    public int compareTo(Tile o) {
        return ants.getDistance(this, dest) - ants.getDistance(o, dest);
    }
	
}
